package com.makejl.serviceImpl;

import com.makejl.dao.LoginDAO;
import com.makejl.domain.LoginUser;
import com.makejl.service.LoginService;

public class LoginServiceImpl implements LoginService{

	private LoginDAO loginDAO;
	
	public String login() {
		return "XGH,you will be a greater man!";
	}

	public LoginUser getLoginUser() {
		return loginDAO.read();
	}

	public LoginDAO getLoginDAO() {
		return loginDAO;
	}

	public void setLoginDAO(LoginDAO loginDAO) {
		this.loginDAO = loginDAO;
	}

	
}
